package com.cn.feign.service.impl;

import com.cn.feign.service.FeignService;
import org.springframework.stereotype.Component;
/**
 * 调用熔断器返回自定义的错误
 * */
@Component
public class SchedualServiceHiHystric implements FeignService {
    @Override
    public String homeFromFeign(String name) {
        return "Sorry " + name;
    }
}
